home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 010 / fcon20.arc / FCMISC.ARC / FANSICAP.TXT < prev    next >
Encoding:
Text File  |  1986-10-19  |  3.9 KB  |  105 lines

  1. # This is a UNIX termcap for FANSI-CONSOLE in NON-VT100 MODE. 
  2. # It works with communications programs that interface with the console 
  3. # through BIOS or DOS calls.  Visual editors such as 'vi' and 'emacs' 
  4. # perform quite well using this termcap.
  5. # This is an "annotated" termcap; each terminal capability below is
  6. # accompanied by an explanatory comment.  In order to work, the
  7. # termcap should be edited to remove each such comment, replacing
  8. # it by a single tab character.  This can be accomplished easily
  9. # on a UNIX system by first removing this header commentary and
  10. # then executing the sed command:
  11. #
  12. #    sed -e 's/^#[^:]*:/    :/' termcap > newtermcap
  13. #
  14. # (That's a single tab character between the second '/' and the
  15. # following ':'.)  The comments will be removed and the result
  16. # written to the file 'newtermcap'.
  17. #
  18. # Execute 'tset' to define keypad functions.  Should work with other 
  19. # programs using termcap, but don't expect the keypad keys to do anything 
  20. # useful.
  21. #
  22. # Note: Tabbing will not always be done correctly unless MS-DOS program writes
  23. #    in RAW mode to console.  Otherwize MS-DOS gets in the way!
  24. # Our thanks to John Remmers at itivax!emucsc!remmers or itivax!m-net!remmers.
  25. #
  26. fc|fansi|Fansi-Console ANSI X3.64 Emulator for IBM PC in non-VT100 mode:\
  27. #end alt char set    :ae=^O:\
  28. #add new blank line    :al=\E[L:\
  29. #add many blank lines    :AL=\E[%dL:\
  30. #has auto margins    :am:\
  31. #start alt char set    :as=^N:\
  32. #bell            :bl=^G:\
  33. #can backspace with ^H    :bs:\
  34. #back tab        :bt=\E[Z:\
  35. #back many tabs        :BT=\E[%dZ:\
  36. #backspace wraps    :bw:\
  37. #clear to end of displ.    :cd=\E[J:\
  38. #clear to end of line    :ce=\E[K:\
  39. #horiz. cursor motion    :ch=\E[%dG:\
  40. #clear screen        :cl=\E[H\E[J:\
  41. #cursor motion        :cm=\E[%i%d;%dH:\
  42. #number of columns    :co#80:\
  43. #carriage return    :cr=^M:\
  44. #change scroll region    :cs=\E[%i%d;%dr:\
  45. #clear tab stops    :ct=\E[3g:\
  46. #vert. cursor motion    :cv=\E[%i%dd:\
  47. #delete a character    :dc=\E[P:\
  48. #delete many characters    :DC=\E[%dP:\
  49. #delete line        :dl=\E[M:\
  50. #delete many lines    :DL=\E[%dM:\
  51. #cursor down 1 line    :do=\E[B:\
  52. #cursor down many lines    :DO=\E[%dB:\
  53. #end insert mode    :ei=\E[4l:\
  54. #home cursor        :ho=\E[H:\
  55. #insert many characters    :IC=\E[%d@:\
  56. #enter insert mode    :im=\E[4h:\
  57. #initialization string    :is=\Ec\E[1;25r\E[?7h\E[>20h\E[20l\E[4l\E[m\E(B\E)0^O\E[>0;0;72;"\EA"p\E[>0;0;80;"\EB"p\E[>0;0;71;"\EH"p\E[>0;0;75;"\ED"p\E[>0;0;77;"\EC"p\E[>0;0;79;"L"p\E[>0;0;73;"8^Y"p\E[>0;0;81;"8^E"p\E[>0;0;82;"i"p\E[>0;0;83;"x"p\E[>8l:\
  58. #initial tab spacing    :it#8:\
  59. #sent by bs key (del)    :kb=^?:\
  60. #sent by down arrow key    :kd=\EB:\
  61. #sent by macro off key    :ke=\E[>8l:\
  62. #sent by home key    :kh=\EH:\
  63. #sent by left arrow key    :kl=\ED:\
  64. #sent by rt. arrow key    :kr=\EC:\
  65. #sent by macro on key    :ks=\E[>8h:\
  66. #sent by up arrow key    :ku=\EA:\
  67. #move cursor left    :le=^H:\
  68. #move cursor far left    :LE=\E[%dD:\
  69. #number of display lns    :li#25:\
  70. #start blinking        :mb=\E[5m:\
  71. #start boldface        :md=\E[1m:\
  72. #start normal rendition    :me=\E[m:\
  73. #start low intensity    :mh=\E[2m:\
  74. #start concealed    :mk=\E[8m:\
  75. #safe to move in insert    :mi:\
  76. #start reverse video    :mr=\E[7m:\
  77. #move ok in stdout, ul    :ms:\
  78. #non-destructive space    :nd=\E[C:\
  79. #cursor rt. many spaces    :ND=\E[%dC:\
  80. #newline character    :nl=^J:\
  81. #new line with return    :nw=\E[E:\
  82. #has hardware tabs    :pt:\
  83. #restore cursor        :rc=\E[u:\
  84. #file with tab set seq    :rf=/usr/lib/tabset/vt100:\
  85. #repeat character    :rp=%c\E[%db:\
  86. #reset string        :rs=\Ec\E[1;25r\E[?7h\E[>20h\E[20l\E[4l\E[m\E(B\E)0^O\E[>8l:\
  87. #save cursor position    :sc=\E[s:\
  88. #end standout mode    :se=\E[27m:\
  89. #scroll forwards    :sf=\E[S:\
  90. #scroll far forwards    :SF=\E[%dS:\
  91. #begin standout mode    :so=\E[7m:\
  92. #scroll reverse        :sr=\E[T:\
  93. #scroll reverse many    :SR=\E[%dT:\
  94. #tab forward        :ta=\E[I:\
  95. #tab far forward    :TA=\E[%dI:\
  96. #end underscore mode    :ue=\E[24m:\
  97. #can ul but not ovrstk    :ul:\
  98. #cursor up        :up=\E[A:\
  99. #cursor up many lines    :UP=\E[%dA:\
  100. #start underscore mode    :us=\E[4m:\
  101. #window initialize    :wi=\E[%i%d;%d;%d;%dr\
  102. #nl ignored after wrap    :xn:
  103.